package com.ross.mode;

/**
 * @version 1.0.0
 * @className: Facade
 * @description:
 * @author: zhangjunfa
 * @date: 2023/5/5 16:30
 */
public class Facade {
    DemoA a;
    DemoB b;

    public Facade() {
        this.a = new DemoA();
        this.b = new DemoB();
    }


    public void getOne(){
        a.getA();
        b.getB();
    }

    public void getTwo(){
        b.getB();
        a.getA();
    }
}
